package com.jd.basic.service;

import com.jd.basic.dto.RegisterDto;
import com.jd.basic.dto.RegisterEmailDto;
import com.jd.basic.dto.VerifyDto;
import com.jd.basic.dto.VerifyEmailDto;

import java.io.IOException;

public interface VerifyCodeService {
    String getCode(String imageCodeKey) throws IOException;

    void smsCode(VerifyDto verifyDto);

    void phoneRegister(RegisterDto registerDto);

    void emailRegister(RegisterEmailDto registerEmailDto);

    void sendEmailSmsCode(VerifyEmailDto dto);
}
